﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LeadMaster.Interfaces;
using System.ComponentModel.DataAnnotations;

namespace LeadMaster.Models
{
  public class Person : IPerson
  {
      [Required]
      public string Title { get; set; }

      [Required]
      [Display(Name = "First Name")]
      public string Forename { get; set; }

      [Required]
      [Display(Name="Last Name")]
      public string Surname { get; set; }

      [Required]
      [Display(Name = "House Number or Name")]
      public string HouseNum { get; set; }

      [Required]
      [Display(Name = "First Line of Address")]
      public string Address1 { get; set; }

      public string Address2 { get; set; }

      [Required]
      [Display(Name="Town Or City")]
      public string TownCity { get; set; }

      public int? CountyID { get; set; }

      [Required]  
      public string County { get; set; }

      [Required]
      public string Country { get; set; }

      [Required]
      public string Postcode { get; set; }

      public string Telephone { get; set; }

      public string Mobile { get; set; }

      public string Email { get; set; }

      public DateTime DOB { get; set; }

      public Guid? UserID { get; set; }

      public string Username { get; set; }

      public string Password { get; set; }
  }
}